{% if widget.is_initial %}{% load thumbnail %} 
<p class="file-upload">
    {% if widget.value %}
<img src="{% thumbnail widget.value 100x100 crop %}"><img> {% endif %}
    <br/>{{ widget.initial_text }}: 
    <a href="{{ widget.value.url }}">{{ widget.value }}</a>
    {% if not widget.required %}
    <br /> 
    <span class="clearable-file-input">
    <input type="checkbox" name="{{ widget.checkbox_name }}" id="{{ widget.checkbox_id }}" />
    <label for="{{ widget.checkbox_id }}">{{ widget.clear_checkbox_label }}</label></span>
    {% endif %}
    <br />  <br /> 
    {{ widget.input_text }}:{% endif %}
    <input type="{{ widget.type }}" name="{{ widget.name }}" {% include "django/forms/widgets/attrs.html" %} />{% if widget.is_initial %}</p>{% endif %}